package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评论对象 st_comment
 * 
 * @author ruoyi
 * @date 2024-02-07
 */
public class StComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 创建人 */
    @Excel(name = "创建人")
    private String ceater;

    /** 头像 */
    @Excel(name = "头像")
    private String ceaterimage;

    /** 时间 */
    @Excel(name = "时间")
    private String ceatertime;

    /** 分数 */
    @Excel(name = "分数")
    private String score;

    /** 意见 */
    @Excel(name = "意见")
    private String opinion;
    private String foodid;
    private String userName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCeater(String ceater) 
    {
        this.ceater = ceater;
    }

    public String getCeater() 
    {
        return ceater;
    }
    public void setCeaterimage(String ceaterimage) 
    {
        this.ceaterimage = ceaterimage;
    }

    public String getCeaterimage() 
    {
        return ceaterimage;
    }
    public void setCeatertime(String ceatertime) 
    {
        this.ceatertime = ceatertime;
    }

    public String getCeatertime() 
    {
        return ceatertime;
    }
    public void setScore(String score) 
    {
        this.score = score;
    }

    public String getScore() 
    {
        return score;
    }
    public void setOpinion(String opinion) 
    {
        this.opinion = opinion;
    }

    public String getOpinion() 
    {
        return opinion;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ceater", getCeater())
            .append("ceaterimage", getCeaterimage())
            .append("ceatertime", getCeatertime())
            .append("score", getScore())
            .append("opinion", getOpinion())
            .toString();
    }

    public String getFoodid() {
        return foodid;
    }

    public void setFoodid(String foodid) {
        this.foodid = foodid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
